-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.4.2
-
Code
-
Classes
- EnvironmentModel
Total Complexity |
62 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
315 |
Lines of code |
188 |
Logical lines of code |
115 |
Comment lines |
38 |
Methods |
20 |
Properties |
20 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setScreen() |
A |
47 |
9 |
37 |
plugin_active() |
S |
52 |
7 |
27 |
setWordPress() |
S |
60 |
7 |
12 |
setServer() |
S |
66 |
6 |
6 |
is_function_usable() |
S |
61 |
4 |
12 |
setDefaultViewModeList() |
S |
61 |
3 |
13 |
useDoubleAvifExtension() |
S |
73 |
3 |
5 |
useDoubleWebpExtension() |
S |
73 |
3 |
5 |
determineFrontBack() |
S |
71 |
3 |
6 |
useTrustedMode() |
S |
69 |
3 |
7 |
getInstance() |
S |
73 |
2 |
5 |
hasOffload() |
S |
66 |
2 |
8 |
hasImagick() |
S |
66 |
2 |
8 |
checkPHPVersion() |
S |
69 |
2 |
7 |
useVirtualHeavyFunctions() |
S |
75 |
1 |
4 |
getOffloadName() |
S |
72 |
1 |
5 |
setIntegrations() |
S |
75 |
1 |
4 |
getRelativePluginSlug() |
S |
66 |
1 |
8 |
getSystemLoad() |
S |
80 |
1 |
3 |
__construct() |
S |
70 |
1 |
6 |